TrimRight and RTrim (str) are equivalent functions. However, TrimRight is preferred in Crystal syntax, whereas RTrim is preferred in Basic syntax.
TrimRight removes all spaces to the right of a string or data field which is stored left
The following examples are applicable to both Basic and Crystal syntax, although RTrim is preferred in the latter:
Returns "Bal Fwd." where the text string "Bal Fwd. " is left
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |